package com.renjianbo.project.module.flowable.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.renjianbo.project.module.flowable.common.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

/**
 * 流程表单对象 sys_task_form
 * 
 * @author XuanXuan Xuan
 * @date 2021-03-30
 */
@TableName("wf_form")
public class WfForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表单主键 */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)
    private Long formId;

    /** 表单名称 */
    private String formName;

    /** 表单内容 */
    private String content;
    @TableField(exist = false)
    private Integer status;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    private String remark;

    public void setFormId(Long formId)
    {
        this.formId = formId;
    }

    public Long getFormId() 
    {
        return formId;
    }
    public void setFormName(String formName) 
    {
        this.formName = formName;
    }

    public String getFormName() 
    {
        return formName;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    @Override
    public String toString() {
        return new StringBuilder()
            .append("formId"+ getFormId())
            .append("formName"+ getFormName())
            .append("formContent"+ getContent())
            .append("createTime"+ getCreateTime())
            .append("updateTime"+ getUpdateTime())
            .append("createBy"+ getCreateUser())
            .append("updateBy"+ getUpdateUser())
            .toString();
    }
}
